package com.sikaryofficial.backend.domain.dto.resp.workOrder;

import com.sikaryofficial.backend.domain.dto.ReportLogDTO;
import com.sikaryofficial.backend.domain.dto.req.workOrder.UserWorkOrderSaveReq;
import com.sikaryofficial.common.core.annotation.LocalDateTimeFormat;
import com.sikaryofficial.system.api.model.AddressDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 用户售后工单对象 user_work_order_t
 * 
 * @author qinjinyuan
 * @date 2024-01-17
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserWorkOrderDetailDTO extends UserWorkOrderSaveReq
{
    /** 工单ID */
    @ApiModelProperty(value = "工单ID")
    private Long workOrderId;

    @ApiModelProperty(value = "工单编码")
    private String workOrderNo;

    @LocalDateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /** 工单状态 1-受理中;2-已受理 */
    @ApiModelProperty(value = "工单状态")
    private Integer workOrderStatus;

    @ApiModelProperty(value = "工单状态描述")
    private String workOrderStatusDesc;

    @ApiModelProperty(value = "地址对象")
    private AddressDTO address;

    @ApiModelProperty(value = "举报处理日志")
    private List<ReportLogDTO> reportLogList;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "国家")
    private String country;
    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    private String area;

    /**
     * 区县
     */
    @ApiModelProperty(value = "区县")
    private String county;
}
